/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.kleintjes.encryption.Impl;

import za.ac.cput.kleintjes.encryption.Encryption;

/**
 * @author Administrator
 */
public class EncryptionImpl implements Encryption{

    @Override
    public String encryptMessage(String mesg) {
        String enctyptedMesg="";
        char ch = ' ';
        
        for(int x=0; x<mesg.length(); x++)
        {
            ch = (char) ((int) mesg.charAt(x)+1);
            enctyptedMesg = enctyptedMesg + ch;
        }
        return enctyptedMesg;
    }
    
}


